package com.magic.shop.vo;

import lombok.Data;

/**
 * @author zhangbo
 * @create 2024/10/8
 */
@Data
public class CommonResult<T> {
    private int code;
    private String message;
    private T data;
    private String busCode;
    public CommonResult(int code, String message) {
        this.code = code;
        this.message = "success";
        this.busCode = null;
        this.message = message;
    }
}
